package org.xm.sk.vo.ob;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import org.xm.sk.vo.e.ActivityStatus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "CrtActivity", description = "创建优惠活动")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CrtActivity {

    @ApiModelProperty(value = "优惠活动ID", dataType = "int", example = "1")
    Integer id;

    @ApiModelProperty(value = "优惠活动条件内容", dataType = "string", example = "双十一消费满100减10")
    String conditions;

    @ApiModelProperty(value = "发行优惠券数量", dataType = "int", example = "100")
    Integer count;

    @ApiModelProperty(value = "活动开始时间", dataType = "date", example = "2017-11-11 11:11:11")
    Date startline;
    
    @ApiModelProperty(value = "活动截止时间", dataType = "date", example = "2017-11-11 11:11:11")
    Date deadline;

    @ApiModelProperty(value = "活动名称", dataType = "string", example = "双十一优惠活动")
    String name;

    @ApiModelProperty(value = "优惠价格", dataType = "double", example = "10")
    Double price;

    @ApiModelProperty(value = "活动范围", dataType = "string", example = "全品牌全门店")
    String scope;

    @ApiModelProperty(value = "图片ID", dataType = "int", example = "2")
    Integer imageId;

    @ApiModelProperty(value = "门店ID集")
    Set<Integer> shopIds = new HashSet<Integer>();

    @ApiModelProperty(value = "项目ID集")
    Set<Integer> itemIds = new HashSet<Integer>();

    @ApiModelProperty(value = "门店ID集")
    Set<Integer> brandIds = new HashSet<Integer>();

    @ApiModelProperty(value = "发型师ID")
    Integer hairdresserId;

    @ApiModelProperty(value = "活动状态")
    ActivityStatus status;

}
